package com.seo.proxy.http;

import java.net.URL;
import java.util.ArrayList;

public class HttpRequest {

	private ArrayList<Header> headers = new ArrayList<Header>();

	private Header contentLengthHeader;

	private Header contentTypeHeader;

	private int contentLength;

	private String body;

	private String method;

	private String protocol;

	private URL url;

	private boolean keepConnection;

	private String requestLine;

	private String rawHeaders;

	private String contentType;

	private String rawUrl;

	public String getRawUrl() {
		return rawUrl;
	}

	public void setRawUrl(String rawUrl) {
		this.rawUrl = rawUrl;
	}

	public String getRawHeaders() {
		return rawHeaders;
	}

	public void setRawHeaders(String rawHeaders) {
		this.rawHeaders = rawHeaders;
	}

	public ArrayList<Header> getHeaders() {
		return headers;
	}

	public void setHeaders(ArrayList<Header> headers) {
		this.headers = headers;
	}

	public Header getContentLengthHeader() {
		return contentLengthHeader;
	}

	public void setContentLengthHeader(Header contentLengthHeader) {
		this.contentLengthHeader = contentLengthHeader;
	}

	public Header getContentTypeHeader() {
		return contentTypeHeader;
	}

	public void setContentTypeHeader(Header contentTypeHeader) {
		this.contentTypeHeader = contentTypeHeader;
	}

	public int getContentLength() {
		return contentLength;
	}

	public void setContentLength(int contentLength) {
		this.contentLength = contentLength;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public URL getUrl() {
		return url;
	}

	public void setUrl(URL url) {
		this.url = url;
	}

	public boolean isKeepConnection() {
		return keepConnection;
	}

	public void setKeepConnection(boolean keepConnection) {
		this.keepConnection = keepConnection;
	}

	public String getRequestLine() {
		return requestLine;
	}

	public void setRequestLine(String requestLine) {
		this.requestLine = requestLine;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getContentType() {
		return contentType;
	}
}
